using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Item
    {
        public Item()
        {
            this.Apdets = new List<Apdet>();
            this.ARC_Apdet = new List<ARC_Apdet>();
            this.ARC_Oedet = new List<ARC_Oedet>();
            this.ARC_Oedet1 = new List<ARC_Oedet>();
            this.Assemblies = new List<Assembly>();
            this.BillOfMaterials = new List<BillOfMaterial>();
            this.BillOfMaterials1 = new List<BillOfMaterial>();
            this.Iprcpts = new List<Iprcpt>();
            this.ItemMatchingCodes = new List<ItemMatchingCode>();
            this.item_res = new List<item_res>();
            this.Itemacts = new List<Itemact>();
            this.Itemcosts = new List<Itemcost>();
            this.ItemCoverageExcepts = new List<ItemCoverageExcept>();
            this.Itemdets = new List<Itemdet>();
            this.ItemPriceExcepts = new List<ItemPriceExcept>();
            this.Itm_CodeMap = new List<Itm_CodeMap>();
            this.Itm_CodeMap1 = new List<Itm_CodeMap>();
            this.ItmPLists = new List<ItmPList>();
            this.KitItems = new List<KitItem>();
            this.KitItems1 = new List<KitItem>();
            this.OE_ORDER = new List<OE_ORDER>();
            this.Oedets = new List<Oedet>();
            this.Oedets1 = new List<Oedet>();
            this.PInventoryLogs = new List<PInventoryLog>();
            this.Psdets = new List<Psdet>();
            this.PSDetJobs = new List<PSDetJob>();
            this.req_tests = new List<req_tests>();
            this.SubItems = new List<SubItem>();
            this.SubItems1 = new List<SubItem>();
            this.TransferDets = new List<TransferDet>();
        }

        public string ITEM1 { get; set; }
        public string ITEM_SRH { get; set; }
        public string ITEMMSTR { get; set; }
        public string DESC { get; set; }
        public Nullable<bool> TAXABLE { get; set; }
        public Nullable<int> CLASS { get; set; }
        public Nullable<short> UOFMSALES { get; set; }
        public Nullable<short> UOFMORDERS { get; set; }
        public Nullable<short> FACTOR { get; set; }
        public Nullable<float> ONHAND { get; set; }
        public Nullable<float> ONORDER { get; set; }
        public Nullable<double> PHYSICAL { get; set; }
        public string VENDOR { get; set; }
        public Nullable<float> VENDISCOUNT { get; set; }
        public Nullable<float> UNITCOST { get; set; }
        public float COST { get; set; }
        public Nullable<double> ORDERCOST { get; set; }
        public Nullable<double> PRICE { get; set; }
        public Nullable<double> INQTY { get; set; }
        public Nullable<System.DateTime> INDATE { get; set; }
        public Nullable<double> OUTQTY { get; set; }
        public Nullable<System.DateTime> OUTDATE { get; set; }
        public Nullable<double> ADJQTY { get; set; }
        public Nullable<System.DateTime> ADJDATE { get; set; }
        public Nullable<double> MTD_ISSUE { get; set; }
        public Nullable<double> MTD_RCPTS { get; set; }
        public Nullable<double> MTD_ADJ { get; set; }
        public Nullable<double> YTD_ISSUE { get; set; }
        public Nullable<double> YTD_RCPTS { get; set; }
        public Nullable<double> YTD_ADJ { get; set; }
        public Nullable<float> MIN { get; set; }
        public Nullable<float> MAX { get; set; }
        public string KITNO { get; set; }
        public Nullable<bool> DEBIT { get; set; }
        public string UPCCODE { get; set; }
        public string SUPBCODE { get; set; }
        public string POSLOC { get; set; }
        public string VENDITEMNO { get; set; }
        public Nullable<bool> EXCLUDE { get; set; }
        public Nullable<short> COUNTRY { get; set; }
        public string FORM { get; set; }
        public string DOSE { get; set; }
        public Nullable<short> PACKAGE1 { get; set; }
        public Nullable<short> PACKAGE2 { get; set; }
        public Nullable<short> PACKAGE3 { get; set; }
        public string GENERIC_NM { get; set; }
        public int TYPE { get; set; }
        public short CATEGORY { get; set; }
        public string COMMENTS { get; set; }
        public string CODE { get; set; }
        public Nullable<float> K { get; set; }
        public Nullable<float> ARE { get; set; }
        public Nullable<float> L { get; set; }
        public Nullable<float> R { get; set; }
        public Nullable<float> OR { get; set; }
        public Nullable<short> CARAT { get; set; }
        public Nullable<short> BRAND { get; set; }
        public Nullable<bool> APTY_LOSS { get; set; }
        public Nullable<byte> IN_PIECES { get; set; }
        public Nullable<double> PCS_TO_GMS { get; set; }
        public Nullable<double> PURITY { get; set; }
        public string CIRTIF_NO { get; set; }
        public string DIAM_COLOR { get; set; }
        public string CLARITY { get; set; }
        public string SHAPE { get; set; }
        public string PERL_COLOR { get; set; }
        public string SIZE { get; set; }
        public Nullable<double> MKGSPERGRM { get; set; }
        public Nullable<double> ONHANDPW { get; set; }
        public Nullable<double> ONORDERPW { get; set; }
        public Nullable<double> IN_PW { get; set; }
        public Nullable<double> OUT_PW { get; set; }
        public Nullable<double> ADJ_PW { get; set; }
        public Nullable<double> MTDISSUEPW { get; set; }
        public Nullable<double> MTDRCPTSPW { get; set; }
        public Nullable<double> MTD_ADJ_PW { get; set; }
        public Nullable<double> YTDISSUEPW { get; set; }
        public Nullable<double> YTDRCPTSPW { get; set; }
        public Nullable<double> YTD_ADJ_PW { get; set; }
        public Nullable<double> LASTRCOST { get; set; }
        public Nullable<System.DateTime> PHY_DATE { get; set; }
        public Nullable<double> PHYSICALPW { get; set; }
        public Nullable<short> CUSTOMV1 { get; set; }
        public string CUSTOMV2 { get; set; }
        public string CUSTOMV3 { get; set; }
        public string CUSTOMV4 { get; set; }
        public string CUSTOMV5 { get; set; }
        public Nullable<int> BU { get; set; }
        public Nullable<int> CLUSTER { get; set; }
        public Nullable<int> PRODUCTLINE { get; set; }
        public Nullable<int> ITEMKIND { get; set; }
        public Nullable<int> PROGRAM { get; set; }
        public Nullable<short> CHECKDIGIT { get; set; }
        public Nullable<int> GROUPNUMBER { get; set; }
        public Nullable<int> SUBGROUP { get; set; }
        public string ABCCLASSIF { get; set; }
        public string XYZCLASSIF { get; set; }
        public Nullable<int> FAMILY { get; set; }
        public Nullable<int> USAGE { get; set; }
        public Nullable<int> MODEOFSHIP { get; set; }
        public Nullable<short> LEADTIME { get; set; }
        public bool INACTIVE { get; set; }
        public Nullable<int> MINORDERQTY { get; set; }
        public Nullable<short> LASTPURCURR { get; set; }
        public Nullable<System.DateTime> LASTPURDATE { get; set; }
        public Nullable<double> FOBCOST { get; set; }
        public Nullable<double> SHIPCOST { get; set; }
        public Nullable<double> OPERCOST { get; set; }
        public Nullable<float> SHIPPERCENT { get; set; }
        public Nullable<float> OPERPERCENT { get; set; }
        public Nullable<double> COST1 { get; set; }
        public Nullable<double> COST2 { get; set; }
        public Nullable<float> MINRETMARG { get; set; }
        public Nullable<float> MINWHOLMARG { get; set; }
        public Nullable<double> MINRETLPRICE { get; set; }
        public Nullable<double> MINWHOLLPRICE { get; set; }
        public Nullable<float> MAXRETDISC { get; set; }
        public Nullable<float> MAXWHOLDISC { get; set; }
        public Nullable<double> MINRETPRICE { get; set; }
        public Nullable<double> MINWHOLPRICE { get; set; }
        public Nullable<double> WHOLPRICE { get; set; }
        public Nullable<int> UNIT1 { get; set; }
        public Nullable<int> UNIT2 { get; set; }
        public Nullable<int> UNIT3 { get; set; }
        public Nullable<int> UNIT4 { get; set; }
        public Nullable<short> CONVFACT1 { get; set; }
        public Nullable<short> CONVFACT2 { get; set; }
        public Nullable<short> CONVFACT3 { get; set; }
        public Nullable<short> CONVFACT4 { get; set; }
        public Nullable<int> PENTYPE1 { get; set; }
        public Nullable<int> PENTYPE2 { get; set; }
        public Nullable<int> PENTYPE3 { get; set; }
        public Nullable<int> PENTYPE4 { get; set; }
        public Nullable<double> PENALTY1 { get; set; }
        public Nullable<double> PENALTY2 { get; set; }
        public Nullable<double> PENALTY3 { get; set; }
        public Nullable<double> PENALTY4 { get; set; }
        public string UPC1 { get; set; }
        public string UPC2 { get; set; }
        public string UPC3 { get; set; }
        public string UPC4 { get; set; }
        public Nullable<double> OPENINGCOST { get; set; }
        public Nullable<short> SALECURRENCY { get; set; }
        public Nullable<float> A { get; set; }
        public Nullable<float> N { get; set; }
        public Nullable<bool> KIT { get; set; }
        public Nullable<bool> TEMPBIT { get; set; }
        public Nullable<int> SUBCAT_ID { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<short> Division { get; set; }
        public string LastPurchRec { get; set; }
        public bool Assembly { get; set; }
        public Nullable<bool> VAT_ENABLED { get; set; }
        public Nullable<double> Sales_Peak { get; set; }
        public Nullable<double> AMS { get; set; }
        public Nullable<double> Safety_Stock { get; set; }
        public string DEFRADRESULT { get; set; }
        public Nullable<byte> ProductionClass { get; set; }
        public Nullable<int> DefaultWorker { get; set; }
        public Nullable<int> DefaultDuration { get; set; }
        public byte[] ItemImage { get; set; }
        public int ITEMID { get; set; }
        public bool MasterItem { get; set; }
        public Nullable<System.DateTime> CreationDate { get; set; }
        public Nullable<bool> DentChart { get; set; }
        public Nullable<bool> QtyPric { get; set; }
        public Nullable<bool> thSurf { get; set; }
        public Nullable<short> trans_code { get; set; }
        public Nullable<bool> Default { get; set; }
        public string Modifier { get; set; }
        public Nullable<short> ni { get; set; }
        public Nullable<bool> user { get; set; }
        public string Language { get; set; }
        public Nullable<bool> Protected { get; set; }
        public Nullable<bool> Pedo { get; set; }
        public Nullable<bool> question { get; set; }
        public Nullable<short> qtyoh { get; set; }
        public Nullable<short> modi_id { get; set; }
        public Nullable<short> prc_id { get; set; }
        public Nullable<bool> noshow { get; set; }
        public string labtesttemplate { get; set; }
        public Nullable<double> Physicianperc { get; set; }
        public bool operationhasdetail { get; set; }
        public Nullable<short> defaultcurrency { get; set; }
        public byte Frsoperation { get; set; }
        public Nullable<int> groupid { get; set; }
        public Nullable<double> UnitCostB1 { get; set; }
        public Nullable<double> CostB1 { get; set; }
        public Nullable<double> OpeningCostB1 { get; set; }
        public Nullable<int> GuarBillingClass { get; set; }
        public Nullable<int> subtypeno { get; set; }
        public Nullable<int> HiltiType { get; set; }
        public Nullable<int> ba { get; set; }
        public Nullable<double> FOBCOST_CUR { get; set; }
        public Nullable<double> FOBCOST_B1 { get; set; }
        public Nullable<double> COST1_CUR { get; set; }
        public Nullable<double> COST1_b1 { get; set; }
        public Nullable<double> COST2_CUR { get; set; }
        public Nullable<double> COST2_b1 { get; set; }
        public Nullable<short> LabReportOrder { get; set; }
        public Nullable<byte> DepartmentDiscount { get; set; }
        public string RX_GenericName { get; set; }
        public Nullable<short> RX_Duartion { get; set; }
        public Nullable<short> RX_Frequency { get; set; }
        public Nullable<short> RX_Instruction { get; set; }
        public Nullable<short> RX_DispenseTime { get; set; }
        public Nullable<short> RX_Form { get; set; }
        public string Bin { get; set; }
        public string TPI_Code { get; set; }
        public Nullable<bool> Item_TPI { get; set; }
        public string Item_catalogue { get; set; }
        public string Item_Note { get; set; }
        public Nullable<int> Item_ID2 { get; set; }
        public Nullable<double> LastFOBCost_b1 { get; set; }
        public Nullable<double> LastFOBCost_b2 { get; set; }
        public Nullable<double> LastFOBCost_Curr { get; set; }
        public Nullable<double> LastCost1_b1 { get; set; }
        public Nullable<double> LastCost1_b2 { get; set; }
        public Nullable<double> LastCost1_Curr { get; set; }
        public Nullable<double> LastCost2_b1 { get; set; }
        public Nullable<double> LastCost2_b2 { get; set; }
        public Nullable<double> LastCost2_Curr { get; set; }
        public string Item_Manufacturer { get; set; }
        public string Item_Desc_Arabic { get; set; }
        public Nullable<bool> Item_GradeRequired { get; set; }
        public string item_Alt { get; set; }
        public string Desc_Alt { get; set; }
        public string Item_Note_Alt { get; set; }
        public Nullable<bool> Item_DC_CodeToothMapping { get; set; }
        public Nullable<bool> Item_DC_HideFromList { get; set; }
        public Nullable<int> Item_PurchaseCurrency { get; set; }
        public Nullable<decimal> Item_RetailPrice_In_PUR_CURR { get; set; }
        public Nullable<decimal> Item_WholePrice_In_PUR_CURR { get; set; }
        public virtual ICollection<Apdet> Apdets { get; set; }
        public virtual ICollection<ARC_Apdet> ARC_Apdet { get; set; }
        public virtual ICollection<ARC_Oedet> ARC_Oedet { get; set; }
        public virtual ICollection<ARC_Oedet> ARC_Oedet1 { get; set; }
        public virtual ICollection<Assembly> Assemblies { get; set; }
        public virtual ICollection<BillOfMaterial> BillOfMaterials { get; set; }
        public virtual ICollection<BillOfMaterial> BillOfMaterials1 { get; set; }
        public virtual ICollection<Iprcpt> Iprcpts { get; set; }
        public virtual ICollection<ItemMatchingCode> ItemMatchingCodes { get; set; }
        public virtual ICollection<item_res> item_res { get; set; }
        public virtual ICollection<Itemact> Itemacts { get; set; }
        public virtual ICollection<Itemcost> Itemcosts { get; set; }
        public virtual ICollection<ItemCoverageExcept> ItemCoverageExcepts { get; set; }
        public virtual ICollection<Itemdet> Itemdets { get; set; }
        public virtual ICollection<ItemPriceExcept> ItemPriceExcepts { get; set; }
        public virtual ICollection<Itm_CodeMap> Itm_CodeMap { get; set; }
        public virtual ICollection<Itm_CodeMap> Itm_CodeMap1 { get; set; }
        public virtual ICollection<ItmPList> ItmPLists { get; set; }
        public virtual ICollection<KitItem> KitItems { get; set; }
        public virtual ICollection<KitItem> KitItems1 { get; set; }
        public virtual ICollection<OE_ORDER> OE_ORDER { get; set; }
        public virtual ICollection<Oedet> Oedets { get; set; }
        public virtual ICollection<Oedet> Oedets1 { get; set; }
        public virtual ICollection<PInventoryLog> PInventoryLogs { get; set; }
        public virtual ICollection<Psdet> Psdets { get; set; }
        public virtual ICollection<PSDetJob> PSDetJobs { get; set; }
        public virtual ICollection<req_tests> req_tests { get; set; }
        public virtual ICollection<SubItem> SubItems { get; set; }
        public virtual ICollection<SubItem> SubItems1 { get; set; }
        public virtual ICollection<TransferDet> TransferDets { get; set; }
    }
}
